home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
BUSINESS
/
RSA303D.ARJ
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-26
|
2KB
|
77 lines
@ECHO OFF
CLS
ECHO ┌────────────────────────────────────────────────────────────┐
ECHO │ RELATIONAL STOCK ANALYSIS INSTALLATION PROGRAM │
ECHO └────────────────────────────────────────────────────────────┘
IF "%1" == "" GOTO INST0
IF EXIST %1\RSA\*.EXE GOTO INST2
IF EXIST %1\RSA\*.DAT GOTO INST2
ECHO Creating directory %1\RSA
MD %1\RSA
GOTO INST3
:INST2
ECHO Directory %1\RSA already exits
ECHO Type ENTER to continue installation
ECHO Type CRTL-C to abort installation
PAUSE
:INST3
ECHO Copying files to %1\RSA
COPY *.* %1\RSA
ECHO ┌────────────────────────────────────────────────────────────┐
ECHO │ RELATIONAL STOCK ANALYSIS INSTALLATION PROGRAM │
ECHO └────────────────────────────────────────────────────────────┘
CD %1\RSA
%1
IF "%2" == "VGA" GOTO INSTV
IF "%2" == "EGA" GOTO INSTE
IF "%2" == "CGA" GOTO INSTC
IF "%2" == "HERC" GOTO INSTH
IF "%2" == "vga" GOTO INSTV
IF "%2" == "ega" GOTO INSTE
IF "%2" == "cga" GOTO INSTC
IF "%2" == "herc" GOTO INSTH
GOTO INSTV
:INST0
ECHO This install procedure creates a directory called "RSA"
ECHO Specify the drive and monitor type on the INSTALL command
ECHO Example:
ECHO Type "INSTALL C: VGA"
ECHO for VGA install in drive C directory C:\RSA
ECHO Type "INSTALL D: EGA"
ECHO for EGA install in drive D directory D:\RSA
ECHO Type "INSTALL E: CGA"
ECHO for CGA install in drive E directory E:\RSA
ECHO Type "INSTALL F: HERC"
ECHO for Hercules install in drive F directory F:\RSA
GOTO INSTX
:INSTV
COPY VPARMS.DAT PARMS.DAT
ECHO Installation complete for VGA monitor
GOTO INST9
:INSTE
COPY EPARMS.DAT PARMS.DAT
ECHO Installation complete for EGA monitor
GOTO INST9
:INSTC
COPY CMPARMS.DAT PARMS.DAT
ECHO Installation complete for CGA monitor
GOTO INST9
:INSTH
COPY HMPARMS.DAT PARMS.DAT
ECHO Installation complete for Hercules monitor
GOTO INST9
:INST9
ECHO Read documentation files README.DOC, RSA.DOC, and FAQ.DOC
ECHO Then type "RSA" to start program
:INSTX
ECHO Install End